{% extends "base.html" %}

{%block style %}
<link href="/static_media/css/auth/registration.css" rel="stylesheet" type="text/css" >
{%endblock style %}

{% block script %}{% endblock script %}

{% block content %}
      <div class="left">
        <div class="item">
			<form action="/register/" method="post">
				{% csrf_token %}
				<div class="fieldError"> {{ form.non_field_errors }} </div>
				<div class="fieldError"> {{state}} </div>
				
				<label for="id_username" class="fieldHeading" >Username</label>
				<div class="fieldError"> {{ form.username.errors }} </div>
				<div class="fieldWrapper"> {{ form.username }} </div>
					
				<label for="id_email" class="fieldHeading" >E-mail</label>
				<div class="fieldError"> {{ form.email.errors }} </div>
				<div class="fieldWrapper"> {{ form.email }} </div>
					
				<label for="id_date" class="fieldHeading">Password</label>
				<div class="fieldError"> {{ form.password.errors }} </div>
				<div class="fieldWrapper"> {{ form.password }} </div>
							
				<label for="id_time" class="fieldHeading">Re-type Password</label>
				<div class="fieldError"> {{ form.password2.errors }} </div>
				<div class="fieldWrapper"> {{ form.password2 }} </div>
					
				<input type="submit" value="Sign Up" id="signUpButton" class="button"/>
			</form>
        </div>
      </div>
{% endblock content%}